		<div id="footer_menu" class="footer footer_menu">
            <ul class="clear">
                <!--li><a href="{php echo  $this->createMobileUrl('wlhome')}"     {if $_GPC['do']=='wlhome'}class="onactive"{/if}><span class="icons icons_1"></span><label>店铺详情</label></a></li-->
				 {if ($_GPC['do']!='wlmember' && $_GPC['do']!='wlorder'&& $_GPC['do']!='wlmylike' && $_GPC['do']!='wlhome'  && $_GPC['do']!='wlgenius' )}
                <li><a href="{php echo  $this->createMobileUrl('wlindex')}" class="onactive" ><span class="icons icons_2"></span><label>点菜1</label></a></li>
				{else}
				<li><a  href="{php echo  $this->createMobileUrl('wlindex')}" ><span class="icons icons_2"></span><label>点菜2</label></a></li>
				{/if}
                {if $_GPC['do']=='wlmember'||$_GPC['do']=='wlorder'}
				<li><a href="{php echo  $this->createMobileUrl('wlmember',array('status'=>1))}" class="onactive" ><span class="icons icons_3"></span><label>我的订单</label></a></li>
				{else}
				<li><a href="{php echo  $this->createMobileUrl('wlmember',array('status'=>1))}" ><span class="icons icons_3"></span><label>我的订单</label></a></li>
				{/if}
                {if $_GPC['do']=='wlmylike'}				
                <li><a href="javascript:;" class="onactive" ><span class="icons icons_4"></span><label>个人中心</label></a></li>
				{else}
                <li><a href="{php echo  $this->createMobileUrl('wlmylike')}" ><span class="icons icons_4"></span><label>个人中心</label></a></li>
				{/if}			
                <li><a href="{php echo  $this->createMobileUrl('wlhome')}"     {if $_GPC['do']=='wlhome'}class="onactive"{/if}><span class="icons icons_1"></span><label>取货点</label></a></li>				
                <li><a href="javascript:void(0);" id="my_menu"><span class="icons icons_5"><label id="num" class="num">{$totalnum}</label></span></a></li>
            </ul>
        </div>
        <script>
            var footer = document.getElementById("footer_menu");
            var evtObj = {
                handleEvent: function(evt){
                    if("A" == evt.target.tagName){
                        evt.target.classList.toggle("on");
                    }
                }
            }
            footer.addEventListener("touchstart", evtObj, false);
            footer.addEventListener("touchend", evtObj, false);
			
			$("a").click(function(){
				MLoading.show('加载中');
			});	
        </script>
 